<?php
function custom_hook1($arg=null, $text='') {
	
	print '<h1>This is '. __FUNCTION__. '</h1>';
	
	if($text) {
		return '<h1>'. $text. '</h1>';
	}
}

function custom_hook2($arg=null, $text='') {
	
	print '<h1>This is '. __FUNCTION__. '</h1>';
	
	if($text) {
		return str_replace('filter', 'replace', $text);
	}
}
?>